package newetvsdexport;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.eclipse.ui.console.IConsoleConstants;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(false);
		layout.setFixed(true);
		
		layout.addStandaloneView(View.ID,  false, IPageLayout.LEFT, 1.0f, editorArea);
		
/*		ConsoleFactory consoleFactory = new  ConsoleFactory();   
	    consoleFactory.openConsole();   
	    IFolderLayout bottomArea = layout.createFolder("bottomArea" , IPageLayout.BOTTOM, 0.75f, View.ID);   
	    bottomArea.addView(IConsoleConstants.ID_CONSOLE_VIEW); */
	}

}
